package com.edu.atguigu.spring5.aopanno;/*
@author joker
@create 2022-03-23 23:14
Spring_atguigu02
*/

import org.aspectj.lang.annotation.After;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Aspect
@Order(3)
public class PersonProxy {
    @After(value = "execution(* com.edu.atguigu.spring5.aopanno.User.add(..))")
    public void after(){
        System.out.println("Person...after...");

    }
}
